/**
 * 
 */
package design_pattern.immutable;

/**
 * @author linzq
 * 
 */
public class Client {
  public static void main(String[] args) {

    Complex c1 = new Complex(10, 20);
    Complex c2 = new Complex(0, 1);
    Complex result = Complex.multiply(c1, c2);
    System.out.println("Real part:" + result.real());
    System.out.println("Image part:" + result.image());
  }
}
